<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    *{
      margin: 0;
      box-sizing: border-box;
      padding: 0;
    }
    .div1{
      width: 100px;
      height: 100px;
      background-color: tomato;
      /* float: left; */
    }
    .div2{
      width: 150px;
      height: 150px;
      background-color: yellow;
      /* float: left; */
    }
    .div3{
      width: 50px;
      height: 50px;
      background-color: violet;
      float: left;
    }
    .div4{
      width: 60px;
      height: 60px;
      background-color: yellowgreen;
      float: left;
    }
    .box1{
      background-color: pink;
    }
    .p1{
      float: left;
    }
  </style>
</head>
<body>
  <!-- <div class="div1"></div>
  <div class="div2">
    <div class="div3">
      <div class="div4"></div>
  </div>
  </div> -->
  <div class="box1">
    <p class="p1">qwer</p>
  </div>
  <p>233</p>
</body>
</html>